<?php
class Service_purchase{
	
	private $select;
	
	private $_result;
	
	public function __construct()
	{
		$this->_result=ORM::factory( 'recieveinvoices' );
	}
	
	
	protected function Select($column, $op, $value)
	{
		$this->_result->where($column, $op, $value);
		
		return $this;
	}
	
	public function get_results()
	{
		$this->Select();
		return $this->_result;
	}
	
	
	
}